package com.mc.music_web.services;

import com.github.pagehelper.PageInfo;
import com.mc.music_web.entity.Song;
import com.mc.music_web.vo.SongVo;

import java.util.List;

public interface SongVoService {


    //查询
    List<SongVo> selectSongVo();

    //单查询
    Song selectBySong(Integer songId);

    //删除
    int deleteSong(Integer songId);
    //添加
    int insertSong(Song song);

    //修改
    int updateSong(Song song);

    PageInfo selectSongLimit(int pageNum);

    //模糊查询
    List<SongVo> selectByChooseSong(String keyword);
}
